package com.ruoyi.basic.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.basic.domain.TbExchangeRate;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * 汇率Mapper接口
 * 
 * @author ruoyi
 * @date 2022-09-04
 */
public interface TbExchangeRateMapper extends BaseMapper<TbExchangeRate>
{
    /**
     * 汇率列表查询
     * @param tbExchangeRate
     * @return
     */
    List<TbExchangeRate> selectExchangeRateList(TbExchangeRate tbExchangeRate);

    TbExchangeRate selectByFromAndTo(@Param("from") String from,
                                     @Param("to") String to);
}
